package com.bosssoft.promotions.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;
@Data
@TableName("coupon")
public class Coupon implements Serializable {
//    private static final long serialVersionUID = -38120660272868188L;

    @TableId(value = "coupon_id")
    private String couponId;

    @TableField(value = "coupon_name")
    private String couponName;

    @TableField(value = "type")
    private String type;
    /**
     * 使用门槛
     */
    @TableField(value = "threshold")
    private String threshold;
    /**
     * 优惠价格
     */
    @TableField(value = "discount_price")
    private String discountPrice;
    /**
     * 发放量
     */
    @TableField(value = "mount")
    private String mount;
    /**
     * 有效开始时间
     */
    @TableField(value = "begin_time")
    private Date beginTime;
    /**
     * 有效结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;
    /**
     * 状态
     */
    @TableField(value = "status")
    private String status;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;
}
